]> dgit.raspbian.org Git - gnome-shell.git/commit
user-status: Hide "Power off" option if shutdown is disabled
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 3 Jun 2011 22:10:55 +0000 (00:10 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 27 Jun 2011 19:39:28 +0000 (21:39 +0200)
commit6b2b3475c8f2270994ca25b6c0709a0c5cf2df02
tree992a5c238dcf0fafff1165339828ae8f72560d87
parented8acefc007a0de9a0175efa6f29d6593e000138
user-status: Hide "Power off" option if shutdown is disabled

Due to lockdown settings or Polkit policy, shutdown may not be
available. If this is the case, the "Power off ..." action should
be hidden from the user status menu.

https://bugzilla.gnome.org/show_bug.cgi?id=652038
js/misc/gnomeSession.js
js/ui/statusMenu.js